package com.example.gulimallt.ssoserver;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class LoginController {
    @PostMapping("/doLogin")
    public String doLogin(){
        //登录成功跳转,跳回到登录页面
        return "";
    }

    @GetMapping("/login.html")
    public String loginPage(@RequestParam("redirect_url") String url){
        return "login";
    }
}
